package com.ptmall.app.bean.model;


import com.ptmall.app.net.HttpMethods;
import com.ptmall.app.utils.PhoneUtil;

/**
 * Created by Administrator on 2017/7/17.
 */

public class ConfigBean {
    public String problem="0";
    private String identify_num="30D1278B-D4D7-467E-9A21-85DD4065B1A2";//设备识别码
    private String machine_type;//设备型号
    private String model;
    private String method;
    private String occurr_time;//当前时间
    private String use_time;
    private String http_status;
    public String interface_url= HttpMethods.BASE_SITE;
    private String interface_param;//请求参数
    public String getIdentify_num() {
        return identify_num;
    }

    public void setIdentify_num(String identify_num) {
        this.identify_num = identify_num;
    }

    public String getMachine_type() {
        machine_type= PhoneUtil.getphoneModel() + "," + PhoneUtil.getphoneManufactor() + "," + PhoneUtil.getSystemVersion();
        return machine_type;
    }

    public void setMachine_type(String machine_type) {
        this.machine_type = machine_type;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getOccurr_time() {
        String ss=System.currentTimeMillis()+"";
        occurr_time=ss.substring(0,ss.length()-3);
        return occurr_time;
    }

    public void setOccurr_time(String occurr_time) {
        this.occurr_time = occurr_time;
    }

    public String getUse_time() {
        return use_time;
    }

    public void setUse_time(String use_time) {
        this.use_time = use_time;
    }

    public String getHttp_status() {
        return http_status;
    }

    public void setHttp_status(String http_status) {
        this.http_status = http_status;
    }

    public String getInterface_url() {
        return interface_url;
    }

    public void setInterface_url(String interface_url) {
        this.interface_url = interface_url;
    }

    public String getInterface_param() {
        return interface_param;
    }

    public void setInterface_param(String interface_param) {
        this.interface_param = interface_param;
    }
}
